package com.aierkeji.call.cms.util;

import java.lang.reflect.Field;

public class ReflectionUtils {

    public static Class getFieldType(Class clazz,String fieldName){
        try {
            Field field = clazz.getDeclaredField(fieldName);
            return field.getType();
        } catch (NoSuchFieldException e) {
            return null;
        }
    }
}
